﻿<Window x:Class="ProductKeysWin.EditDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Edit Key" Height="202" Width="269" WindowStyle="SingleBorderWindow" Loaded="WindowLoaded" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" Topmost="True" Opacity="1" ResizeMode="NoResize" ToolTipService.ShowOnDisabled="False" ContextMenuService.IsEnabled="False" RenderOptions.BitmapScalingMode="Unspecified">
    <Grid>
      <StackPanel>
        <Label>Product Name:</Label>
        <TextBox Text="{Binding Path=Name}"/>
        <Label>Key:</Label>
        <TextBox Text="{Binding Path=Key}"/>
      <Label>Date Claimed:</Label>
        <TextBox Name="txtDateClaimed" Text="{Binding Path=DateClaimed}"/>
        <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
          <Button Width="96" Click="CancelButtonClick">Cancel</Button>
          <Button Width="96" Click="OkButtonClick">Ok</Button>
        </StackPanel>
      </StackPanel>
    </Grid>
</Window>
